<template>
    <div>
        <van-nav-bar title="订单" />
        <h2>待支付30分 {{ time }} 秒</h2>
        <van-cell-group>
            <van-cell title="订单号" value="129874912" />
            <van-cell title="下单时间" value="6:00" />
            <van-cell title="收件人" value="张三" />
            <van-cell title="地址" value="北京朝阳区" />
            <van-cell title="总金额" value="200.200" />
        </van-cell-group>
    </div>
</template>

<script setup>
import { ref } from 'vue'
let time = ref(30)
let timer
timer = setInterval(() => {
    time.value--
}, 1000)


</script>

<style lang="scss" scoped></style>